/*
 * @Description: In User Settings Edit
 * @Author: YJP
 * @Date: 2019-08-13 18:39:56
 * @LastEditTime: 2019-08-13 18:43:41
 * @LastEditors: Please set LastEditors
 */
import { get, post } from "./request.js"

export default{
    Login (data){
        return post("/api/login",data)
    },
    getInfo(data){
        return get("/"+data)
    }
}